<d-accordion [data]="menu" class="menu" [restrictOneOpen]="restrictOneOpen" (itemClick)="itemClick($event)" (menuToggle)="menuToggle($event)"></d-accordion>
<div class="option">
  <d-toggle [(ngModel)]="restrictOneOpen"></d-toggle> 限制只能展开一个一级菜单
</div>
